﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_zj_cj : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["comicid"] != null)
            {
                string comicid = Request.QueryString["comicid"];
                YuuzleComic.BLL.comics comicsbll = new YuuzleComic.BLL.comics();
                YuuzleComic.Model.comics model = comicsbll.GetModelByCache(Convert.ToInt32(comicid));

                YuuzleComic.Collect.Collect collectbll = new YuuzleComic.Collect.Collect();
                YuuzleComic.Model.CollectNewsInfo c = collectbll.GetNews(model.cjid);
                Response.Redirect("collect/Collect.aspx?norepeat=true&id=" + model.cjid + "&type=Chapter");
            }
            
        }
    }
}